package com.econ.powercloud.ems.common.enums;

/**
 * @Author : zjf
 * @Description : 事件通道上传保护事件/SOE事件的部分参数枚举
 * @Date : 2022/8/3 15:38
 * @Modified by : zjf
 */
public enum ProtectAndSoeFiledEnum implements EnumMethod{

    EID(0, "事件编号","eid"),
    PHASE(1,"相别","phase"),
    ATYPE(2, "动作类型","atype"),
    CH(3,"通道(SOE事件)","ch"),
    ICE(4,"字符串格式时间","iec"),
    VAL(5,"动作值","val"),
    STA(6,"状态","sta"),
    ;

    private Integer code;
    private String desc;
    //标识
    private String tag;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public String getTag() {
        return tag;
    }

    ProtectAndSoeFiledEnum(int code, String desc, String tag){
        this.code=code;
        this.desc=desc;
        this.tag=tag;
    }
}
